package com.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
@org.springframework.stereotype.Controller

public class OneController {
    @RequestMapping("/hello")
    public String hello(Model module){
        module.addAttribute("msg","hello");
        return "hello";
    }

}
